package com.jiyun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiyun.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * (User)表数据库访问层
 *
 * @author LYT
 * @since 2025-01-17 18:29:06
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

     int showCount(Long id);

    User login(User user);

    void register(User user);

    User checkPhone(User user);

    void updatePassword(User user);

    List<User> findAllPhone();

    void updateMoney(Integer id, Integer currentBalance);
}

